Revert "tools build: Clean CFLAGS and LDFLAGS for fixdep"
authorBen Hutchings <benh@debian.org>
Mon, 16 Sep 2024 17:14:19 +0000 (19:14 +0200)
committerBen Hutchings <benh@debian.org>
Sat, 5 Oct 2024 23:00:02 +0000 (01:00 +0200)
This reverts commit 5725dd8fa888b4dcdff58241f9d3d3ac42a048e2.  That
was a workaround for the bug fixed by commit 6b3db6f9b970 "tools
build: Make fixdep a hostprog" and is no longer needed.

Signed-off-by: Ben Hutchings <benh@debian.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name revert-tools-build-clean-cflags-and-ldflags-for-fixdep.patch

tools/build/Makefile.include

index 8dadaa0fbb4397568ac28e0bbfac9862a86110e6..52c802a389c52cca27df94fd2af50dc6e4f5e442 100644 (file)
@@ -2,7 +2,7 @@
 build := -f $(srctree)/tools/build/Makefile.build dir=. obj
 
 fixdep:
-       $(Q)$(MAKE) -C $(srctree)/tools/build CFLAGS= LDFLAGS= $(OUTPUT)fixdep
+       $(Q)$(MAKE) -C $(srctree)/tools/build $(OUTPUT)fixdep
 
 fixdep-clean:
        $(Q)$(MAKE) -C $(srctree)/tools/build clean